package org.chench.test.helloserviceclient;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;

@SpringBootApplication
@EnableDiscoveryClient  // 服务消费者
@EnableHystrix // 启动断路器
public class HelloServiceClientApplication {

	public static void main(String[] args) {
		SpringApplication.run(HelloServiceClientApplication.class, args);
	}
}
